

#ifndef OGLEFFECT_H
#define OGLEFFECT_H

#include "LibraryEngineExport.h"
#include "Graphics\Effects\IEffect.h"
#include "OGLEffectPass.h"
#include <vector>
#include "Graphics\Model\Model.h"
#include "OGLShader.h"

namespace CasaEngine
{
	/**
	 * 
	 */
	class LIBRARY_ENGINE_EXPORT COGLEffect : public IEffect
	{
	public:
		COGLEffect();
		~COGLEffect();

		void AddPass(COGLShader *pShader_);
		COGLShader *GetShader() const;
		
	protected:
		void Begin();
		void End();

	private:
		COGLShader *m_pShader;
	};

}  // namespace CasaEngine

#endif //OGLEFFECT_H
